.attachment-dialog {
  border-radius: 5px;
  .el-dialog__body {
    padding: 0;
    background: #edf1f5;
  }
  .el-dialog__footer {
    padding: 10px 20px 10px;
  }
  .multimedia-content {
    position: relative;
    height: 410px;
    display: flex;
    overflow: auto;
    .multimedia-drop {
      position: absolute;
      left: 0;
      top: 0;
      background: #fff;
      width: 100%;
      height: 100%;
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 24px;
      border: 4px dashed #eee;
    }
    .multimedia-menu {
      z-index: 1;
      width: 110px;
      height: 410px;
      position: relative;
      overflow: hidden;
      background: #464c5b;
      user-select: none;
      .el-menu {
        border: none;
        background: transparent;
        .el-menu-item {
          height: 40px;
          color: white;
          line-height: 40px;
          &.is-active, &:hover {
            background: #edf1f5;
            border: none;
            color: #444;
          }
        }
      }
    }
    .multimedia-empty {
      box-sizing: border-box;
      position: absolute;
      height: 100%;
      width: 100%;
      padding-left: 110px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #0389ff;
      font-size: 16px;
      text-align: center;
      left: 0;
      top: 0;
      .el-icon-picture, .el-icon-loading {
        font-size: 40px;
      }
    }
    .multimedia-list {
      position: relative;
      flex:1;
      max-height: 410px;
      height: auto;
      overflow-y: scroll;
      overflow-x: hidden;
      // background: #EDF1F5;
      ul {
        margin: 0;
        padding: 0;
        list-style: none;
      }
      .multimedia-list-item {
        display: inline-block;
        margin: 7px;
        position: relative;
        width: 85px;
        height: 85px;
        user-select: none;
        &__checked {
          transition: opacity .2s ease;
          position: relative;
          z-index: 2;
          font-size: 16px;
          color: #31bedb;
          vertical-align: middle;
          visibility: hidden;
          position: absolute;
          top: 5px;
          right: 5px;
          opacity: 0;
        }

        &:after {
          box-sizing: border-box;
          position: absolute;
          content: "";
          height: 100%;
          left: 0;
          top: 0;
          width: 100%;
          border: 1px solid rgba(#31bedb, 0.8);
          visibility: hidden;
          cursor: pointer;
          transition: border .2s ease;
        }
        &:hover, &.select {
          &:after {
            visibility: visible;
          }
        }
        &.select {
          &:after {
            border: 3px solid #31bedb;
          }
          i {
            visibility: visible;
            opacity: 1;
          }
        }
        &__img {
          width: 85px;
          height: 85px;
        }
        &__name {
          position: absolute;
          box-sizing: border-box;
          width: 100%;
          height: 20px;
          line-height: 20px;
          padding: 0 10px;
          text-overflow: ellipsis;
          overflow: hidden;
          bottom: 0;
          left: 0;
          background: rgba(0, 0, 0, .3);
          color: white;
          text-align: center;
        }
      }
      .el-icon-circle-del {
        position: absolute;
        top: -5px;
        right: -10px;
        font-size: 20px;
        color: #f5222d;
        border-radius: 50%;
        z-index: 999;
      }
    }

  }
  .dialog-footer {
    display: flex;
    justify-content: space-between;
  }
}
